using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PearlyGates;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace PearlyGates
{
    class GateXor : GameScreen
    {
        Texture2D background;

        public override void LoadContent()
        {
            background = ScreenManager.Game.Content.Load<Texture2D>("TruthXor");

            base.LoadContent();
        }

        public override void HandleInput(InputState input)
        {
            PlayerIndex playerIndex;
            if (input.IsMenuCancel(null, out playerIndex))
            {
                ScreenManager.AddScreen(new Tutorial_1(), null);
                ExitScreen();
            }
            base.HandleInput(input);
        }

        public override void Draw(GameTime gameTime)
        {
            ScreenManager.SpriteBatch.Begin();
            ScreenManager.SpriteBatch.Draw(background, Vector2.Zero, Color.White);
            ScreenManager.SpriteBatch.End();

            base.Draw(gameTime);
        }
    }
}
